package com.kurumi.query;

import java.util.ArrayList;
import java.util.List;

public class InPatientMedicalRecordQuery extends PageQuery{

	private List<InPatientMedicalRecordItem> items = new ArrayList<InPatientMedicalRecordItem>();
	
	//查询结果集
	private Object datas;

	public List<InPatientMedicalRecordItem> getItems() {
		return items;
	}

	public void setItems(List<InPatientMedicalRecordItem> items) {
		this.items = items;
	}
	
	public void clearEmpty(){
		for (int i = this.getItems().size() -1; i >=0 ; i--) {
			InPatientMedicalRecordItem item = this.getItems().get(i);
			if(item.isEmpty()){
				this.getItems().remove(i);
			}
		}
	}

	public Object getDatas() {
		return datas;
	}

	public void setDatas(Object datas) {
		this.datas = datas;
	}

	
	
}
